﻿<%@ Page Language="C#" %>

<%@ Import Namespace="wojilu" %>
<%@ Import Namespace="wojilu.View" %>
<%@ Import Namespace="wojilu.Apps.Qycms.Domain" %>
<%@ Import Namespace="wojilu.Apps.Qycms.Service" %>

<%PowerGroup modelpowergroup = v.data("powergroup") as PowerGroup; %>
<%var bllPowerGroupService = new PowerGroupService(); %>
<%var list = v.data("list") as List<Form_Value>; %>

<%if (list.Count > 0){ %>
<% foreach (var row in list) { %>
<div class="infolist" onselectstart="return false;" ondblClick="javascript:parent.onbotton('_{formmessmain_text_set_botton}','<%=link.to(new wojilu.Web.Controller.Admin.Qycms.FormController().FormMessMainRead,row.Id) %>?freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),true,'messageedit<%=row.Id %>',self.frameElement.getAttribute('name'));">
	<table border="0" style="border-collapse:collapse" width="100%" bordercolor="#FFFFFF">
		<tr>
			<td width="5%"><input type="checkbox" name="messselectinfoid" value="<%=row.Id %>"></td>
			<td width="10%"><%=row.Id %></td>
			<td width="60%"><%=row.addtime %></td>
			<td width="10%" id="infotype">
				<table>
					<tr>
						<td><%if (row.isreply == 1)
                                { %><span class="select_ok"></span><%}else { %><span class="select_no"></span><%} %></td>
					</tr>
				</table>
			</td>
			<td width="15%" id="infotype">
				<table>
					<tr>
						<td><a class="setedit3" onclick="javascript:parent.onbotton('_{formmessmain_text_set_botton}','<%=link.to(new wojilu.Web.Controller.Admin.Qycms.FormController().FormMessMainRead,row.Id) %>?freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'messageedit<%=row.Id %>',self.frameElement.getAttribute('name'));" id="messageedit<%=row.Id %>" href="#body" title="_{formmessmain_text_set_botton}" hidefocus="true">_{formmessmain_text_set_botton}</a></td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</div>
<%} %>
<%}else{%>
<div class="infolist">
	<table border="0" style="border-collapse:collapse" width="100%" bordercolor="#FFFFFF">
		<tr>
			<td align="center">_{list_nothing_title}</td>
		</tr>
	</table>
</div>
<%} %>